﻿Public Class main

    Private Sub DocumentBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DocumentBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.DocumentBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DigitalDocumentDataSet)

    End Sub

    Private Sub main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'DigitalDocumentDataSet.Document' table. You can move, or remove it, as needed.
        Me.DocumentTableAdapter.Fill(Me.DigitalDocumentDataSet.Document)

    End Sub
End Class